package chuangyi.com.org.DOMIHome;

import android.app.Activity;
import android.databinding.DataBindingUtil;
import android.os.Bundle;

import chuangyi.com.org.DOMIHome.databinding.ALoginBinding;
import chuangyi.com.org.ViewModel.User;

public class LoginActivity extends Activity {
    public static LoginActivity current;
    private User currentUser;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        current = this;
        ALoginBinding binding = DataBindingUtil.setContentView(this, R.layout.a_login);
        currentUser = new User(this);
        binding.setCurrentUser(currentUser);
    }
}
